package cn.yj.frame.annotation;

import cn.yj.frame.config.BeanConfig;
import cn.yj.frame.spring.YJRpcServiceScanRegistrar;
import cn.yj.register.RegisterConfig;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * RPC启动注解，加载配置类
 *
 * @author 永健
 * @since 2022-01-18 14:58
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({YJRpcServiceScanRegistrar.class, RegisterConfig.class, BeanConfig.class})
public @interface EnableYJRpc {

}
